﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Text;

namespace ConsoleRx
{
    class Program
    {
        static void Main(string[] args)
        {
            var xs = Observable.Return(42);
            using (var sb = xs.Subscribe(Console.WriteLine))
            {
                Console.ReadLine();
            }
        }
    }
}
